###########################################################################
#                                                                         #
# telorb.conf file for TelORB R14 Linux, GEM-MICRO, Zone 2          Rev.C #
# ======================================================================= #
#                                                                         #
# This file contains configuration settings for the IO processors in a    #
# TelORB zone.                                                            #
#                                                                         #
# (To configure Zone 1 for GEM-MICRO, use the file                        #
# "r14_linux_micro_zone1.telorb.conf.template".)                          #
#                                                                         #
# GEM-MICRO consists of 10 Pentium processors of which 2 are used as IO   #
# processors.                                                             #
# The two IO processors are located in magazine 0, slots 1 & 5.           #
# The two TelORB processors, used as Dicos loaders, are located in        #
# magazine 0, slots 9 & 11.                                               #
#                                                                         #
# This file is divided into two main parts, namely "SITE DEPENDENT        #
# CONFIGURATIONS" and "CONFIGURATIONS WHICH MUST NOT BE CHANGED".         #
# Site dependent configuration values must be adjusted to suit the target #
# zone towards which this file will be used.                              #
#                                                                         #
# The same telorb.conf file should be used to configure both IO           #
# processors located in the same zone.                                    #
#                                                                         #
#                                                                 /uabmsu #
###########################################################################

###########################################################################
# SITE DEPENDENT CONFIGURATIONS   (Adjust these to match your site)       #
###########################################################################

# Configuration of Internal Networks A & B (eth0 & eth1) on IO Processors
# =======================================================================
# (To check the network interfaces, type "/sbin/ifconfig -a" or "ifconfig -a"
# on the target IO processors.)
#
# Adjust the following:
# - internal-network io1ethaddr0: Specify the MAC address of eth0 for IO1.
# - internal-network io2ethaddr0: Specify the MAC address of eth0 for IO2.
# - internal-network io1ethaddr1: Specify the MAC address of eth1 for IO1.
# - internal-network io2ethaddr1: Specify the MAC address of eth1 for IO2.
#   (Example of MAC address: "00:a0:a5:4c:00:6e")

# Network A (eth0):
internal-network subnet0 172.18.0.0
internal-network netmask0 255.255.0.0
internal-network defaultgw0 172.18.0.1
internal-network bcast0 172.18.255.255
internal-network io1net0 172.18.100.101
internal-network io2net0 172.18.100.105
internal-network io1interfacename0 eth0 
internal-network io1ethaddr0 xx:xx:xx:xx:xx:xx
internal-network io2interfacename0 eth0
internal-network io2ethaddr0 xx:xx:xx:xx:xx:xx

# Network B (eth1):
internal-network subnet1 172.19.0.0
internal-network netmask1 255.255.0.0
internal-network defaultgw1 172.19.0.1
internal-network bcast1 172.19.255.255
internal-network io1net1 172.19.100.101
internal-network io2net1 172.19.100.105
internal-network io1interfacename1 eth1
internal-network io1ethaddr1 xx:xx:xx:xx:xx:xx
internal-network io2interfacename1 eth1 
internal-network io2ethaddr1 xx:xx:xx:xx:xx:xx


# Configuration of External Networks (eth2 & eth3) on IO Processors
# =================================================================
# (To check the network interfaces, type "/sbin/ifconfig -a" or "ifconfig -a"
# on the target IO processors.)
#
# For eth2 on the IO processors, adjust the following:
# - external-network subnet0:    Subnet for eth2, e.g. "134.138.184.0".
# - external-network netmask0:   Netmask for eth2, e.g. "255.255.248.0".
# - external-network defaultgw0: Default gateway for eth2, e.g. "134.138.184.1".
# - external-network bcast0:     Broadcast for eth2, e.g. "134.138.191.255".
# - external-network io1net0:    IP address of eth2, IO1, e.g. "134.138.187.95".
# - external-network io2net0:    IP address of eth2, IO2, e.g. "134.138.187.96".
#
# If eth3 will be used on the IO processors, uncomment the "external-network..."
# lines for eth3 below and adjust the following:
# - external-network subnet1:    Subnet for eth3.
# - external-network netmask1:   Netmask for eth3.
# - external-network defaultgw1: Default gateway for eth3.
# - external-network bcast1:     Broadcast for eth3.
# - external-network io1net1:    IP address of eth3 on IO1.
# - external-network io2net1:    IP address of eth3 on IO2.

# eth2:
external-network subnet0 aa1.bb1.cc1.dd1
external-network netmask0 aa2.bb2.cc2.dd2
external-network defaultgw0 aa3.bb3.cc3.dd3
external-network bcast0 aa4.bb4.cc4.dd4
external-network io1net0 aa5.bb5.cc5.dd5
external-network io2net0 aa6.bb6.cc6.dd6
external-network io1interfacename0 eth2
external-network io2interfacename0 eth2

# eth3:
#external-network subnet1 aa7.bb7.cc7.dd7
#external-network netmask1 aa8.bb8.cc8.dd8
#external-network defaultgw1 aa9.bb9.cc9.dd9
#external-network bcast1 aaa.bba.cca.dda
#external-network io1net1 aab.bbb.ccb.ddb
#external-network io2net1 aac.bbc.ccc.ddc
#external-network io1interfacename1 eth3
#external-network io2interfacename1 eth3


# Configuration of TelORB Processors (eth0 & eth1)
# ================================================
# The TelORB processor names represent the physical processor board position in
# the cabinet, e.g. TelORB processor "Proc_m0_s9" is located in magazine 0,
# slot 9.
# For TelORB processors "dicosProc_m0_s9" and "dicosProc_m0_s11", the following
# apply:
# - Specify MAC addresses, as described below.
# - Do not change any other settings, since these processors should run with
#   Dicos and be Dicos loaders (eptftp).
#
# Adjust the following:
# - Specify MAC addresses for eth0 and eth1 for each processor, as follows:
#     eth_addr_for_eth0: MAC address for eth0, e.g. "00:a0:a5:4c:00:eb".
#     eth_addr_for_eth1: MAC address for eth1, e.g. "00:a0:a5:4c:00:ec".
# - Define which Operating System each processor should run with, as follows:
#     Dicos: The processor lines should start with "dicosProc", e.g.
#            "dicosProc_m0_s15_0".
#     Linux: The processor lines should start with "linuxProc", e.g.
#            "linuxProc_m0_s15_0".
#            Since all processors with Linux OS are loaders, the eptftp line
#            where it says "Linux loader" should be uncommented.
#            ("eptftp_server_net0/1" specifies that a TelORB processor is a
#            loader.)

dicosProc_m0_s9_0 eth_addr_for_eth0 xx:xx:xx:xx:xx:xx
dicosProc_m0_s9_0 ip_addr_for_eth0 172.18.100.109
dicosProc_m0_s9_0 eptftp_server_net0			# Dicos loader
dicosProc_m0_s9_1 eth_addr_for_eth1 xx:xx:xx:xx:xx:xx
dicosProc_m0_s9_1 ip_addr_for_eth1 172.19.100.109
dicosProc_m0_s9_1 eptftp_server_net1			# Dicos loader

dicosProc_m0_s11_0 eth_addr_for_eth0 xx:xx:xx:xx:xx:xx
dicosProc_m0_s11_0 ip_addr_for_eth0 172.18.100.111
dicosProc_m0_s11_0 eptftp_server_net0			# Dicos loader
dicosProc_m0_s11_1 eth_addr_for_eth1 xx:xx:xx:xx:xx:xx
dicosProc_m0_s11_1 ip_addr_for_eth1 172.19.100.111
dicosProc_m0_s11_1 eptftp_server_net1			# Dicos loader

dicosProc_m0_s13_0 eth_addr_for_eth0 xx:xx:xx:xx:xx:xx
dicosProc_m0_s13_0 ip_addr_for_eth0 172.18.100.113
#linuxProc_m0_s13_0 eptftp_server_net0				# Linux loader
dicosProc_m0_s13_1 eth_addr_for_eth1 xx:xx:xx:xx:xx:xx
dicosProc_m0_s13_1 ip_addr_for_eth1 172.19.100.113
#linuxProc_m0_s13_1 eptftp_server_net1				# Linux loader

dicosProc_m0_s15_0 eth_addr_for_eth0 xx:xx:xx:xx:xx:xx
dicosProc_m0_s15_0 ip_addr_for_eth0 172.18.100.115
#linuxProc_m0_s15_0 eptftp_server_net0				# Linux loader
dicosProc_m0_s15_1 eth_addr_for_eth1 xx:xx:xx:xx:xx:xx
dicosProc_m0_s15_1 ip_addr_for_eth1 172.19.100.115
#linuxProc_m0_s15_1 eptftp_server_net1				# Linux loader

dicosProc_m0_s17_0 eth_addr_for_eth0 xx:xx:xx:xx:xx:xx
dicosProc_m0_s17_0 ip_addr_for_eth0 172.18.100.117
#linuxProc_m0_s17_0 eptftp_server_net0				# Linux loader
dicosProc_m0_s17_1 eth_addr_for_eth1 xx:xx:xx:xx:xx:xx
dicosProc_m0_s17_1 ip_addr_for_eth1 172.19.100.117
#linuxProc_m0_s17_1 eptftp_server_net1				# Linux loader

dicosProc_m0_s19_0 eth_addr_for_eth0 xx:xx:xx:xx:xx:xx
dicosProc_m0_s19_0 ip_addr_for_eth0 172.18.100.119
#linuxProc_m0_s19_0 eptftp_server_net0				# Linux loader
dicosProc_m0_s19_1 eth_addr_for_eth1 xx:xx:xx:xx:xx:xx
dicosProc_m0_s19_1 ip_addr_for_eth1 172.19.100.119
#linuxProc_m0_s19_1 eptftp_server_net1				# Linux loader

dicosProc_m0_s21_0 eth_addr_for_eth0 xx:xx:xx:xx:xx:xx
dicosProc_m0_s21_0 ip_addr_for_eth0 172.18.100.121
#linuxProc_m0_s21_0 eptftp_server_net0				# Linux loader
dicosProc_m0_s21_1 eth_addr_for_eth1 xx:xx:xx:xx:xx:xx
dicosProc_m0_s21_1 ip_addr_for_eth1 172.19.100.121
#linuxProc_m0_s21_1 eptftp_server_net1				# Linux loader

dicosProc_m0_s23_0 eth_addr_for_eth0 xx:xx:xx:xx:xx:xx
dicosProc_m0_s23_0 ip_addr_for_eth0 172.18.100.123
#linuxProc_m0_s23_0 eptftp_server_net0				# Linux loader
dicosProc_m0_s23_1 eth_addr_for_eth1 xx:xx:xx:xx:xx:xx
dicosProc_m0_s23_1 ip_addr_for_eth1 172.19.100.123
#linuxProc_m0_s23_1 eptftp_server_net1				# Linux loader


# Configuration of TelORB Processors with VIP interface (eth2 & eth3)
# ===================================================================
# Currently, VIP can only be used on TelORB processors running with Dicos.
# In this template, TelORB processors "Proc_m0_s13", "Proc_m0_s15",
# "Proc_m0_s17" and "Proc_m0_s19" are prepared for VIP usage.
#
# Adjust the following for each VIP interface:
# - vip-network vipnetX: Depending on your VIP router configurations, the IP
#                        addresses of the VIP nets may have to be modified,
#                        e.g. "192.168.61.0".
#                        (If the VIP routers have not yet been configured, the
#                        default values for the VIP nets, used in the template,
#                        can be kept and later be used when configuring
#                        the VIP routers.)
# - ip_addr_for_vipX:    Depending on your VIP router configurations, the IP
#                        addresses of the VIP router links on the TelORB
#                        processor end may have to be modified, e.g.
#                        192.168.61.2.
#                        (If the VIP routers have not yet been configured, the
#                        default values for the VIP router links, used in the
#                        template, can be kept and later be used when
#                        configuring the VIP routers.)
# - eth_addr_for_vipX:   Specify MAC addresses for eth2 and eth3, e.g. 
#         "vip_dicosProc_m0_s13_2 eth_addr_for_vip0 00:80:37:5e:ff:98" for eth2
#                        and
#         "vip_dicosProc_m0_s13_3 eth_addr_for_vip1 00:80:37:5e:ff:99" for eth3.
# - Specify which Operating System each TelORB processor with VIP interfaces
#   should run with, as follows:
#     Dicos: The processor lines should start with "vip_dicosProc", e.g.
#            "vip_dicosProc_m0_s17_2".
#     Linux: The processor lines should start with "vip_linuxProc", e.g.
#            "vip_linuxProc_m0_s17_2". This option is currently not valid!

vip-network vipnet0 192.168.61.0
vip-network vipnetmask0 255.255.255.252
vip_dicosProc_m0_s13_2 ip_addr_for_vip0 192.168.61.2
vip_dicosProc_m0_s13_2 eth_addr_for_vip0 xx:xx:xx:xx:xx:xx

vip-network vipnet1 192.168.62.0
vip-network vipnetmask1 255.255.255.252
vip_dicosProc_m0_s13_3 ip_addr_for_vip1 192.168.62.2
vip_dicosProc_m0_s13_3 eth_addr_for_vip1 xx:xx:xx:xx:xx:xx

vip-network vipnet2 192.168.61.4
vip-network vipnetmask2 255.255.255.252
vip_dicosProc_m0_s15_2 ip_addr_for_vip2 192.168.61.6
vip_dicosProc_m0_s15_2 eth_addr_for_vip2 xx:xx:xx:xx:xx:xx

vip-network vipnet3 192.168.62.4
vip-network vipnetmask3 255.255.255.252
vip_dicosProc_m0_s15_3 ip_addr_for_vip3 192.168.62.6
vip_dicosProc_m0_s15_3 eth_addr_for_vip3 xx:xx:xx:xx:xx:xx

vip-network vipnet4 192.168.61.8
vip-network vipnetmask4 255.255.255.252
vip_dicosProc_m0_s17_2 ip_addr_for_vip4 192.168.61.10
vip_dicosProc_m0_s17_2 eth_addr_for_vip4 xx:xx:xx:xx:xx:xx

vip-network vipnet5 192.168.62.8
vip-network vipnetmask5 255.255.255.252
vip_dicosProc_m0_s17_3 ip_addr_for_vip5 192.168.62.10
vip_dicosProc_m0_s17_3 eth_addr_for_vip5 xx:xx:xx:xx:xx:xx

vip-network vipnet6 192.168.61.12
vip-network vipnetmask6 255.255.255.252
vip_dicosProc_m0_s19_2 ip_addr_for_vip6 192.168.61.14
vip_dicosProc_m0_s19_2 eth_addr_for_vip6 xx:xx:xx:xx:xx:xx

vip-network vipnet7 192.168.62.12
vip-network vipnetmask7 255.255.255.252
vip_dicosProc_m0_s19_3 ip_addr_for_vip7 192.168.62.14
vip_dicosProc_m0_s19_3 eth_addr_for_vip7 xx:xx:xx:xx:xx:xx


# Configuration of External Time Server(s)
# ========================================
# Adjust the following:
# - timeserver: Specify the IP address of the external time server, e.g.
#               134.138.128.17.
# - If more than one external time server will be used, just add any number of
#   "timeserver" lines with valid IP addresses.

timeserver aad.bbd.ccd.ddd


###########################################################################
# CONFIGURATIONS WHICH MUST NOT BE CHANGED   (Do NOT adjust these)        #
###########################################################################

# Configuration of Internal Time Servers
# ======================================
timeserver 172.18.100.101				# IO1, network A.
timeserver 172.19.100.105				# IO2, network B.


# Configuration of Port for the Software Terminal Server (STS)
# ============================================================
tsport 7001


# Configuration of Console Server IP Address (for STS)
# ====================================================
consserverip 172.18.100.101				# STS will run on IO1.


# Configuration of Booting Procedure of TelORB Processors running with Dicos
# ==========================================================================
booting PXE


# Configuration of NFS Mount Points
# =================================
io1_share_nfs /opt/telorb
io2_share_nfs /opt/telorb


# Configuration of Network Redundancy
# ===================================
# The settings in this section relate to the Transfer Manager.

telorb_cosnaming_host	172.18.100.109		# Sets IP addresses to be used
telorb_cosnaming_host	172.19.100.111		# to access the TelORB CosNaming
						# IOR (in local zone).
						# Use IP addresses of the Dicos
						# loaders in own zone.

telorb_local_zone_id	2			# Identifier for local zone.
telorb_remote_zone_id	1			# Identifier for remote zone.

interzone_peer 172.16.100.101:loadingGroup01_1	# IP address of IO1 in remote
						# zone, network A.
interzone_peer 172.17.100.101:loadingGroup01_1	# IP address of IO1 in remote
						# zone, network B.
interzone_peer 172.16.100.105:loadingGroup01_2	# IP address of IO2 in remote
						# zone, network A.
interzone_peer 172.17.100.105:loadingGroup01_2	# IP address of IO2 in remote
						# zone, network B.

io1_rsync_path /opt/telorb/axe/loadingGroup01_1	# rsync configuration for IO1 in
						# local zone.
io2_rsync_path /opt/telorb/axe/loadingGroup01_2 # rsync configuration for IO2 in
						# local zone.


# Configuration of GESBs/SCBs
# ===========================

# GESBs:
# Since GESBs are not used in GEM-MICRO, these are not configured.

# SCBs:
internal-network scb0a_0 172.18.100.100
internal-network scb0a_1 172.19.100.100
internal-network scb0b_0 172.18.100.125
internal-network scb0b_1 172.19.100.125

##############################  End of file  ##############################
